﻿using LightCAD.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LightCAD.Runtime
{
    public sealed class AppController
    {
        public static void Initilize(IApp app,IMainWindow window)
        {
            App = app;
            ActiveWindow = window.Controller;
            //判断命令行，然后打开图纸
        }

        public static IApp App { get; internal set; }

        public static MainWindowController ActiveWindow {get; internal set; }
        public static LcDocument ActiveDocument { get; internal set; }

        public static DrawingEditorController ActiveDrawing { get; internal set; }

        public static ModelEditorRT ActiveModel { get; internal set; }

    }
}
